 {

        var o = require("./UISoundManager.js"), i = require("./UIPopupBase.js");
        cc.Class({
            extends: i,
            properties: {
                spHead: {
                    default: null,
                    type: cc.Sprite
                },
                labName: {
                    default: null,
                    type: cc.Label
                },
                labSex: {
                    default: null,
                    type: cc.Label
                },
                labUserID: {
                    default: null,
                    type: cc.Label
                },
                labDiamond: {
                    default: null,
                    type: cc.Label
                },
                labCoin: {
                    default: null,
                    type: cc.Label
                }
            },
            init: function () {
            },
            onLoad: function () {
                var e = Global.userProfile;
                if (this.labName && e && e.getUserProfile() && (this.labName.string = Global.utils.getFixString(e.getUserName(), 5)),
                this.labSex && e && e.getUserProfile() && (this.labSex.string = e.getUserSex() ? "女" : "男"),
                this.labUserID && e && (this.labUserID.string = "ID:" + e.getUserId()), this.labCoin && e && e.getUserProfile() && (this.labCoin.string = Global.utils.exchangeToWan(e.getUserProfile().chip)),
                this.labDiamond && e && e.getUserProfile() && (this.labDiamond.string = e.getHadYuanBaoNum()),
                this.spHead && e && e.getUserProfile()) {
                    e.setMyHeadSpf(this.spHead), this.spHead.node.width = 70, this.spHead.node.height = 70;
                }
            },
            onBtnChangeHeadSp: function () {
                console.log("onBtnChangeHeadSp");
            },
            onBtnChangeName: function () {
                console.log("onBtnChangeName"), cc.loader.loadRes("prefabs/NodeChangeName", function (e, t) {
                    var n = cc.instantiate(t), o = this.node;
                    o && n && o.addChild(n);
                }.bind(this));
            },
            onBtnChangeSex: function () {
                console.log("onBtnChangeSex");
            },
            onBtnAuthentication: function () {
                console.log("onBtnAuthentication");
            },
            onBtnSafe: function () {
                console.log("onBtnSafe");
            },
            OnPanelClose: function () {
                o.playEffect("select"), this.closePanel();
            }
        })
    }